package ch03.d4;

import org.junit.Test;

import java.util.Scanner;

public class DogTest {
    @Test
    public void testNew(){

        //创建对象
        Dog dog = new Dog("旺财","黄色");
        System.out.println(dog.nikeName);

    }
}
